package physics.contactListeners
{
	import Box2D.Collision.b2Manifold;
	import Box2D.Dynamics.b2ContactImpulse;
	import Box2D.Dynamics.Contacts.b2Contact;
	
	/**
	 * ...
	 * @author Leong Shi Yun
	 */
	public interface IContactListener
	{
		function BeginContact(contact:b2Contact):void
		function EndContact(contact:b2Contact):void
		function PreSolve(contact:b2Contact, oldManifold:b2Manifold):void
		function PostSolve(contact:b2Contact, impulse:b2ContactImpulse):void
		
		// copy and paste into new functions
		/*public function BeginContact(contact:b2Contact):void
		{
			
		}
		
		public function EndContact(contact:b2Contact):void
		{
			
		}
		
		public function PreSolve(contact:b2Contact, oldManifold:b2Manifold):void
		{
			
		}
		
		public function PostSolve(contact:b2Contact, impulse:b2ContactImpulse):void
		{
			
		}*/
	}
	
}